/*
 * @Author: your name
 * @Date: 2021-09-07 16:04:39
 * @LastEditTime: 2021-09-09 15:28:57
 * @LastEditors: mzx
 * @Description: In User Settings Edit
 * @FilePath: \实训\7-E洁家政\code\vue-e-jie-housekeeping\src\store\modules\category.js
 */
import request from '@/utils/request';
export default {
  namespaced: true,
  state () {
    return {

    }
  },
  mutations: {

  },
  actions: {
    async findAllCategories () {
      let res = await request.get('/productCategory/pageQuery', {
        params: { page: 1, pageSize: 1000 }
      })
      return res
    },
    async findAllOrders () {
      let res = await request.get('/productCategory/pageQuery', {
        params: { page: 1, pageSize: 1000 }
      })
      return res
    }
  }
}